package liumengbaio.lolzhangyoubao.Activity.Activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import liumengbaio.lolzhangyoubao.R;

/**
 * Created by lanouhn on 16/9/12.
 */
public class FriendsActivity extends AppCompatActivity implements View.OnClickListener {
    private Button edit_head_left_title;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.friends_activity);
        initView();
        initData();
    }

    private void initData() {
        edit_head_left_title.setOnClickListener(this);
    }

    private void initView() {
        edit_head_left_title = (Button) findViewById(R.id.edit_head_left_title);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.edit_head_left_title:
                finish();
                break;
        }
    }
}
